﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

/// <summary>
/// Summary description for ThongtinService
/// </summary>
public class ThongtinService

{
    public static ThongtinController db = new ThongtinController();

    #region[ThongTinATM_Insert]
    public void ThongTinATM_Insert(Thongtin data)
    {
        db.ThongTinATM_Insert(data);
    }
    #endregion

    #region[ThongTinATM_Update]
    public void ThongTinATM_Update(Thongtin data)
    {
        db.ThongTinATM_Update(data);
    }
    #endregion

    #region[ThongTinATM_Delete]
    public void ThongTinATM_Delete(string MaATM)
    {
        db.ThongTinATM_Delete(MaATM);
    }
    #endregion

    #region[ThongTinATM_GetByAll]
    public DataTable ThongTinATM_GetByAll()
    {
        return db.ThongTinATM_GetByAll();
    }
    #endregion

    #region[ThongTinATM_GetById]
    public DataTable ThongTinATM_GetById(string MaATM )
    {
        return db.ThongTinATM_GetById(MaATM);
    }
    #endregion

    #region[ThongTinATM_GetByTop]
    public DataTable ThongTinATM_GetByTop(string Top, string Where, String Order)
    {
        return db.ThongTinATM_GetByTop(Top, Where, Order);
    }
    #endregion
    #region[ThongTinATM_GetByMakhuvuc]
    public DataTable ThongTinATM_GetByMakhuvuc()
    {
        return db.ThongTinATM_GetByMakhuvuc();
    }
    #endregion
	public ThongtinService()
	{
		//
		// TODO: Add constructor logic here
		//
	}
}